package upgrades;

import gameObjects.Castle;

public class InfantryUpgrade extends Upgrade {

	public InfantryUpgrade() {
		this.name="Infantry upgrade";
		this.desc = "Buy infantry units for half of basic price.";
		this.price= 60;
		this.toRemove = true;
		this.imagePath="infantryUpgrade.png";
	}
	
	@Override
	public void action(Castle castle) {
		castle.setInfantryPrice( 5);
	}

}
